Skip to main content

subtitleFontWeight

Type

property

Summary

This property sets the weight (or bold) of the subtitle font.

Syntax

set the subtitleFontWeight of widget to {"normal" | "bold" | "lighter" | "bolder" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "inherit" | "initial" | "revert" | "unset"}
get the subtitleFontWeight of widget

Description

The subtitleFontWeight property sets the weight (or bold) of the subtitle font. The available weights depend on the font family currently configured for the title. https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight

Examples

# Keyword values
set the subtitleFontWeight of widget "Chart View" to "bold"
# Keyword values relative to the parent
set the subtitleFontWeight of widget "Chart View" to "lighter"
# Numeric keyword values
set the subtitleFontWeight of widget "Chart View" to 300
# Global values
set the subtitleFontWeight of widget "Chart View" to "unset"

Compatibility and Support

OS

mac

windows

linux

ios

android

web